//
//  LLGeneralArrowCellModel.m
//  TaoTuo
//
//  Created by admin on 2019/11/8.
//  Copyright © 2019 admin. All rights reserved.
//

#import "LLGeneralArrowCellModel.h"

@implementation LLGeneralArrowCellModel

+ (id)setModelWithImageName:(NSString * _Nullable)imageName
                      title:(NSString *)title
    contentAttributedString:(NSMutableAttributedString * _Nullable)contentAttributedString
                     target:(id _Nullable)target
                     action:(SEL _Nullable)action
             arrowDirection:(GeneralCellArrowDirection)arrowDirection
{
    return [self setModelWithImageName:imageName title:title contentAttributedString:contentAttributedString detailAttributedString:nil target:target action:action arrowDirection:arrowDirection];
}

+ (id)setModelWithImageName:(NSString * _Nullable)imageName
                      title:(NSString *)title
    contentAttributedString:(NSMutableAttributedString * _Nullable)contentAttributedString
     detailAttributedString:(NSMutableAttributedString * _Nullable)detailAttributedString
                     target:(id _Nullable)target
                     action:(SEL _Nullable)action
             arrowDirection:(GeneralCellArrowDirection)arrowDirection
{
    LLGeneralArrowCellModel *model = [self setModelWithImageName:imageName title:title contentAttributedString:contentAttributedString detailAttributedString:detailAttributedString];
    model.target = target;
    model.action = action;
    model.arrowDirection = arrowDirection;
    return model;
}


@end
